
<%
  OvalCustomColumn column = new OvalCustomColumn(strLanguageCode);
  java.util.Vector searchList = (java.util.Vector)column.getSearchableList(strTableName,strSearchNames);
  if(searchList == null || searchList.size() == 0)
    searchList = strSearchNames;
%>
        <tr> 
          <td nowrap width="66"><%= label.getLabelName("L_QuickSearch") + label.getLabelName("L_Colon") %>            
            </td><td width="10"><select name="searchnamealias" onchange="javascript:changeSearchName()">
            <logic:iterate id="searchid" collection="<%= searchList %>">
              <% 
                java.util.HashMap searchHash = (java.util.HashMap)pageContext.getAttribute("searchid"); 
                String strSelect = new String();   
                String strName = (String)searchHash.get("columnname");
                if(strName.equalsIgnoreCase(strCurSearchName))
                  strSelect = "Selected";
              %>
              <option <%=JspHelper.filterNull( strSelect )%>  value = "<%=JspHelper.filterNull( strName + "^" + searchHash.get("columntype") )%>">
                 <%=JspHelper.filterNull( searchHash.get("columndesc") )%>
              </option>
            </logic:iterate>      
            </select></td><td nowrap><input type="text" name="searchvalue" size="20" value="<%=JspHelper.filterNull( strCurSearchValue )%>" style="display:<%=JspHelper.filterNull( comDisplay )%>" onkeydown="if(event.keyCode==13) page_summary('search');">
            <span id="spec" style="display:<%=JspHelper.filterNull( speDisplay )%>"><input type="text" name="searchvalue1" size="20" value="<%=JspHelper.filterNull( strCurSearchValue1 )%>" onkeydown="if(event.keyCode==13) page_summary('search');">--<input type="text" name="searchvalue2" size="20" value="<%=JspHelper.filterNull( strCurSearchValue2 )%>" onkeydown="if(event.keyCode==13) page_summary('search');"></span>
          	</td>
          	
          	<%
          	 if(SearchDateLabel != null || !SearchDateLabel.equals("")) {
          	 
          	  java.sql.Date sDate = (java.sql.Date)pageContext.getAttribute("defaultstartdate");
          	  java.sql.Date eDate = (java.sql.Date)pageContext.getAttribute("defaultenddate");
          	 
          	   java.text.SimpleDateFormat df = new java.text.SimpleDateFormat((String)session.getAttribute("dateformat"));  
          	   String sDate0 = "";
          	   String eDate0 = "";
          	   if(sDate !=null)
          	     sDate0 = df.format(sDate);
          	   if(eDate != null)
          	     eDate0 = df.format(eDate);
          	  
               String formname = form;
          	%>
          	<td nowrap width="66"><%= label.getLabelName(SearchDateLabel)+label.getLabelName("L_Colon")%></td>
          	<td width="2500">
 			 
 				 
 				  <input type="text" name="startdate0" size="12" value="<%= sDate0 %>" 
          	         onblur="defaultstartdate.value=dateCheck(startdate0.value, 'yyyy-MM-dd',
				                                     '<%=JspHelper.filterNull( session.getAttribute("dateformat") )%>');
				                                     if(defaultstartdate.value<0){alert('<%= message.getMessageDesc("VALUE_MUST_BE_DATE",label.getLabelName("L_QueryScope",false)) %>');
				                                     startdate0.focus();}"/>
 		              <a onclick="javascript:c.show(this,'<%=formname%>.startdate0','<%=JspHelper.filterNull( session.getAttribute("dateformat") )%>');"><custom:button type="3" label="L_Asterisk" imgsrc="Time.gif" border="0"/></a>
		  -- <input type="text" name="enddate0" size="12" value="<%= eDate0 %>"
		              onblur="defaultenddate.value=dateCheck(enddate0.value, 'yyyy-MM-dd',
				                                     '<%=JspHelper.filterNull( session.getAttribute("dateformat") )%>');
				                                     if(defaultenddate.value<0){alert('<%= message.getMessageDesc("VALUE_MUST_BE_DATE",label.getLabelName("L_QueryScope",false)) %>');
				                                     enddate0.focus();}"/>
		              <a onclick="javascript:c.show(this,'<%=formname%>.enddate0','<%=JspHelper.filterNull( session.getAttribute("dateformat") )%>');"><custom:button type="3" label="L_Asterisk" imgsrc="Time.gif" border="0"/></a>&nbsp; <a href="javascript:page_summary('search')"><img src="<%= ConstantProp.DEFAULT_ROOT_PATH %>/images/<%= strLanguageCode %>/go_fy.gif" border="0" style="border: 1 solid #000000"></a>
		    <input type="hidden" name="defaultstartdate"  value="<%= sDate %>" />
		    <input type="hidden" name="defaultenddate"  value="<%= eDate %>"/> 
		    
		    </td>
 		 
 			<%}%>
          	
  
       	<!--td width="6"><a href="javascript:page_summary('search')"><img src="<%= ConstantProp.DEFAULT_ROOT_PATH %>/images/<%= strLanguageCode %>/go_fy.gif" border="0" style="border: 1 solid #000000"></a></td-->
       	<td width="400"></td>
        </tr>
           <input type="hidden" name="searchname" value="<%=JspHelper.filterNull( strCurSearchName )%>">
